needs more thought, because people shouldn't need to set up their Xen-API server
to run the non-Xen-API bits of the test, and at the moment, you get
authentication failures on every SKIP.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
import signal
import re
import glob
-import xapi
TEST_PASS = 0
TEST_FAIL = 255
def FAIL(format, *args):
print "\nREASON:", (format % args)
- xapi.vm_destroy_all()
sys.exit(TEST_FAIL)
def SKIP(format, *args):
print "\nREASON:", (format % args)
- xapi.vm_destroy_all()
sys.exit(TEST_SKIP)
def saveLog(logText, filename=None):